﻿package com.obas.model.business
{
	import com.ease.model.NamespaceModel;
	import com.obas.model.business.TestPlanItem;
	import com.obas.model.business.TestTask;

	[Bindable]
	[RemoteClass(alias="com.obas.model.business.TestTaskItem")]
	
	public class TestTaskItem
		extends
			com.ease.model.NamespaceModel
	{

		private var _startTime:Date;
		private var _endTime:Date;
		private var _testResult:Boolean;
		private var _testResultMessage:String;
		private var _testResultStackTrace:String;
		private var _testTaskId:Number;
		private var _testTask:com.obas.model.business.TestTask;
		private var _testPlanItemId:Number;
		private var _testPlanItem:com.obas.model.business.TestPlanItem;

		public function TestTaskItem()
		{
		}

		public function get startTime():Date
		{
			return _startTime;
		}

		public function set startTime(value:Date):void
		{
			_startTime = value;
		}

		public function get endTime():Date
		{
			return _endTime;
		}

		public function set endTime(value:Date):void
		{
			_endTime = value;
		}

		public function get testResult():Boolean
		{
			return _testResult;
		}

		public function set testResult(value:Boolean):void
		{
			_testResult = value;
		}

		public function get testResultMessage():String
		{
			return _testResultMessage;
		}

		public function set testResultMessage(value:String):void
		{
			_testResultMessage = value;
		}

		public function get testResultStackTrace():String
		{
			return _testResultStackTrace;
		}

		public function set testResultStackTrace(value:String):void
		{
			_testResultStackTrace = value;
		}

		public function get testTaskId():Number
		{
			return _testTaskId;
		}

		public function set testTaskId(value:Number):void
		{
			_testTaskId = value;
		}

		public function get testTask():com.obas.model.business.TestTask
		{
			return _testTask;
		}

		public function set testTask(value:com.obas.model.business.TestTask):void
		{
			_testTask = value;
		}

		public function get testPlanItemId():Number
		{
			return _testPlanItemId;
		}

		public function set testPlanItemId(value:Number):void
		{
			_testPlanItemId = value;
		}

		public function get testPlanItem():com.obas.model.business.TestPlanItem
		{
			return _testPlanItem;
		}

		public function set testPlanItem(value:com.obas.model.business.TestPlanItem):void
		{
			_testPlanItem = value;
		}
	}
}